package com.dcy.security.auth.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @Author：dcy
 * @Description: 自定义异常处理类
 * @Date: 2019/10/14 15:27
 */
@JsonSerialize(using = UserOAuth2ExceptionSerializer.class)
public class UserOAuth2Exception extends OAuth2Exception {

    public UserOAuth2Exception(String message, Throwable t) {
        super(message, t);
    }
}
